package objects.predictors;

import java.util.Date;

import objects.ObjectCodes;

import com.google.gson.Gson;


public class Tuple implements ObjectCodes {
	public String jobId;
	public int cluster;
	public Date time;
	public double probability;
	public int mean;
	public double std_dev;
	public double coeff;

	public Tuple(){}
	
	public Tuple(int c, Date t, double p, int m, double s, double co) {
		this.cluster = c;
		this.time = t;
		this.probability = p;
		this.mean = m;
		this.std_dev = s;
		this.coeff = co;
	}

	public String toString() {
		return RES_INFO + "|" + new Gson().toJson(this);
	}
}
